<?php
/**
 *
 * 动态判断会员登录状态
 *
 */
require_once(dirname(__FILE__)."/../include/common.inc.php");
require_once(DEDEINC."/memberlogin.class.php");
$ml = new MemberLogin();
$muid = $ml->M_ID;
if($muid==0){
    $arr = array(
	   "status"=>"0"
     );
     echo json_encode($arr);
     exit; 
}else{
    $arr = array(
	   "status"=>"1"
     );
     echo json_encode($arr);
     exit; 
}
?>